// 1. 散列函数——除法散列法
pub fn h_divide(k: i32, m: i32) -> i32 {
    k % m
}

// 2. 散列函数——乘法散列法
pub fn h_multiplication(k: u32, p: usize, w: u32, a: f32) -> u32 {
    (k as u64 * (a * 2_f32.powi(w as i32)) as u64) as u32 >> (w as usize - p + 1)
}
